package com.yami.shop.cp.comment.dto;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yami.shop.bean.app.dto.ProductItemDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class CollaborativePurchaseShopCartItemDto extends ProductItemDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull
    @ApiModelProperty(value = "协同采购单ID")
    private String collaborativePurchaseId;

    @NotNull
    @ApiModelProperty(value = "提报人手机号")
    private String mobile;

    @ApiModelProperty(value = "购物车ID", required = true)
    private Long collaborativePurchaseBasketId;

    @ApiModelProperty(value = "店铺ID", required = true)
    private Long shopId;

    @ApiModelProperty(value = "规格名称", required = true)
    private String skuName;

    @ApiModelProperty(value = "店铺名称", required = true)
    private String shopName;

    @ApiModelProperty(value = "商品原价", required = true)
    private Double oriPrice;

    @ApiModelProperty(value = "推广员使用的推销卡号")
    private String distributionCardNo;

    @ApiModelProperty(value = "加入购物车的时间")
    private Date basketDate;

    @ApiModelProperty(value = "是否收藏")
    private Boolean isCollection;

    @ApiModelProperty(value = "购物车是否勾选")
    private Boolean isCheck;
}
